package com.share.common.util;

import lombok.experimental.UtilityClass;

import java.io.File;

/**
 * 常量工具
 *
 * @author liw
 * @version 1.0
 * @date 2022/6/10 16:39
 */
@UtilityClass
public class Constant {


    // 官网获取的 API Key 更新为你注册的
    public static final String CLIENT_ID = "w0u6gEc6arXGRimGoj4knoWc";
    // 官网获取的 Secret Key 更新为你注册的
    public static final String CLIENT_SECRET = "ZBbGPIwHHjcV4OiFWLy2n3oDPmGqmLQV";

    public static final String AUTH_URL = "https://aip.baidubce.com/oauth/2.0/token?grant_type=client_credentials&client_id=%s&client_secret=%s";

    public static final String MATCH_URL = "https://aip.baidubce.com/rest/2.0/face/v3/match?access_token=";

    public static final String ID_CARD_URL = "https://aip.baidubce.com/rest/2.0/ocr/v1/idcard?access_token=";


}
